Skip to content

Do not enforce websocket restriction on proxy#1

Closed
acormier-maia wants to merge 1 commit intodanbailey1000:proxy-feature-cleanfrom
acormier-maia:proxy-without-ws
Closed

Do not enforce websocket restriction on proxy#1
acormier-maia wants to merge 1 commit intodanbailey1000:proxy-feature-cleanfrom
acormier-maia:proxy-without-ws

Conversation

@acormier-maia
Copy link
Copy Markdown

Remove the restriction that the leaf node connection must be a websocket in order to enable proxy support. I have tested locally and confirms it works.

leafnodes {
  remotes [{
    urls: [nats-leaf://remote-server.example.com"]
    
    proxy {
      url: "http://corporate-proxy.company.com:8080"
      username: "proxy_user"
      password: "proxy_pass"
      timeout: "30s"
    }
  }]
}

Signed-off-by: Austin Cormier austincormier@maiaedge.io

An HTTP Proxy with Connect can proxy any tcp connection not just http.  Remove
the restriction that the leafnode connection must be websocket.

Signed-off-by: Your Name <austincormier@maiaedge.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant